//
//  OpenCoreAmrCodec.h
//  OpenCoreAmrCodec
//
//  Created by ilongge on 2024/4/2.
//

#import <Foundation/Foundation.h>

@interface OpenCoreAmrCodec : NSObject

+ (int)encodeWaveFile:(NSString *)waveFile
              amrFile:(NSString *)amrFile
             channels:(int)channels
        bitsPerSample:(int)bitsPerSample;

+ (int)decodeAmrFile:(NSString *)amrFile
            waveFile:(NSString *)waveFile;

+ (NSData *)encodeWaveData:(NSData *)waveData
                  channels:(int)channels
             bitsPerSample:(int)bitsPerSample;

+ (NSData *)decodeAmrData:(NSData *)amrData;

@end

 
